home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 41.zip / BS1 part 41 / Amiga Plus 1.adf / SuperView.doc < prev    next >
Text File  |  1978-04-08  |  11KB  |  345 lines

  1.  
  2.     SuperView,   A IFF display program.  by  David  Grothe  V 2.1
  3.  
  4.     *
  5.     * Copyright 1988 by David Grothe
  6.     * All rights reserved.
  7.     *
  8.     * This program is Shareware,  if you use this program
  9.     * please send $10 to: 
  10.     *
  11.     * David Grothe
  12.     * 20 SW 39th
  13.     * Okla City, OK  73109
  14.     *
  15.     * You may pass the program around as long as this Doc file 
  16.     * remains a part of it.
  17.     *
  18.     * If you would like to distribute this program with your 
  19.     * software, you must contact me first.
  20.     * 
  21.  
  22.  
  23. SuperView is a program that will display IFF pictures of all types 
  24. on the Amiga.  The program supports the following features:
  25.  
  26.    Multiple files on one command line.
  27.    WorkBench  (icons) are supported.
  28.    All display modes supported.
  29.    Auto Overscan
  30.    Color Cycle ( DPaint and GraphiCraft types)  CRNG  CCRT
  31.    AmigaBasic  ACBM  type files
  32.    Author chunk is supported
  33.    Displays the first cell in a ANIM file
  34.    Written in Assembly, PURE code that can be resident under 1.3
  35.  
  36. New for version 2.1
  37.  
  38. Display options that include the following:
  39.  
  40.     -a        Suppress Author Text
  41.     -c        Suppress Color Cycling
  42.     -d <dir>    Display all pictures in a directory
  43.     -f <file>    Read a text file for picture names
  44.     -h<n>       Change the display height of a picture
  45.     -l           List picture information
  46.     -m<x>       Select view modes.
  47.     -o           Override the Auto Overscan 
  48.     -p           Disables Pointer Clearing
  49.     -r           Repeat command line
  50.     -s<n>        Display picture for n seconds
  51.     -t[<n>]        Double buffer pictures
  52.     -u        Dual Playfield
  53.     -w<n>        Change the display width
  54.     -x<n>        Change the position of the display area x
  55.     -y<n>        Change the position of the display area y
  56.  
  57. Also new to version 2.1 is:
  58.  
  59.     Smooth transition between pictures.
  60.     Color Cycling continues while next picture is loaded.
  61.     Scroll around in large pictures.
  62.     Pointer Clearing during picture viewing.
  63.  
  64. Overscan sizing and positioning has also been improved.
  65.  
  66. New controls:
  67.  
  68.     Left Mouse     Button Scrolls around in a picture
  69.     Right Mouse     Button Continues to next picture
  70.     Spacebar     Starts and stops the color cycling
  71.     ESC         Aborts the command line
  72.  
  73.  
  74. Using SuperView from WorkBench.
  75.  
  76. SuperView has a complete WorkBench (Icon) interface built in.  
  77. To use SuperView from WorkBench, you must have an icon for your picture. 
  78. Most all paint programs build icons for you as you save a picture, so 
  79. this should not be a problem.  There are two ways to view pictures at 
  80. this point.  The easy way is to click once on the picture icon, hold 
  81. down the shift key, and then double click the SuperView icon.  You can 
  82. reverse this and click once on the SuperView icon and double click your 
  83. picture icon.  To view more that one picture,  you hold down the shift 
  84. key and click each picture that you want to show and the SuperView icon.  
  85. You don't have to select the icons in any kind of order as long as you 
  86. double click the last icon you select.  The pictures will be displayed 
  87. in the order that you select them.  You can also make the picture icon 
  88. itself run SuperView by putting SuperView in the default tool of the 
  89. icon.  This way you can just double click the picture icon to view it.  
  90. For a detailed description of how this is done, see the article in 
  91. Ami Exchange Mag V1.4.  
  92.  
  93. After the picture is loaded from workbench, you can stop and start the 
  94. color cycling with the spacebar, hold down the left mouse button to 
  95. scroll around in a large bitmap picture, press the right mouse button 
  96. to go to the next picture,  or press the ESC key to abort. Pressing the 
  97. ESC key will remove the current picture and cancel out any pictures that 
  98. you had selected that you have not viewed yet.
  99.  
  100.  
  101. Using SuperView from the CLI
  102.  
  103. Here is where the real power of SuperView comes out.  
  104. From the CLI,  you can choose many display options that allow you to 
  105. view a picture in different ways.  The command line from the CLI is
  106.  
  107. 1> SuperView [option[...]] <fileName> [[option[...]] <fileName>].... 
  108.  
  109. You can use up to 255 characters on the command line.  
  110. Here is a list of the options and how to use them.
  111.  
  112.     -a    Suppress Author Text
  113.  
  114. If you use this option, no Author text will be displayed from the AUTH 
  115. chunk in the IFF file.  
  116.  
  117. Example: 
  118.  
  119. 1> SuperView -a Mickey
  120.  
  121.  
  122.     -c    Suppress Color Cycling
  123.  
  124. This option will prevent the picture from color cycling.  If you use this 
  125. option,  the spacebar will not start color cycling.  
  126.  
  127. Example:
  128.  
  129. 1> SuperView -c Spray
  130.  
  131.  
  132.     -d <dir>    Display all pictures in a directory
  133.  
  134. The -d option will take the name of a directory instead of a picture 
  135. name and display every picture that if finds in that directory.  
  136. SuperView will overlook files that are not pictures, so you wont have 
  137. to worry about having non-picture files in the directory.  Any options 
  138. that you select before the directory name will stay in effect for each 
  139. picture in the directory.  After the directory has been displayed, 
  140. SuperView will continue on with the rest of the command line.  This 
  141. option works well with the -s option. 
  142.  
  143. Example:
  144.  
  145. 1> SuperView -d df0:
  146. 1> SuperView -s10 -c -d df0:
  147. 1> SuperView -s10 -d -a df1: -r
  148.  
  149.  
  150.     -f <file>    Read a text file for picture names
  151.  
  152. This option will read a text file and use it as a script to display 
  153. pictures.  The format of the file is the same as the format of each 
  154. picture on the command line.  
  155.  
  156. Example:
  157.  
  158. -a Mickey
  159. -s10 MyPicture
  160. -d -s10 -c df0:
  161. GreatPic
  162. -x200 -y100 BigPic
  163.  
  164. Each picture in the file can have its own options.  When all of the files 
  165. have been displayed,  SuperView will continue with the rest of the 
  166. command line.
  167.  
  168. Example:
  169.  
  170. 1> SuperView -f MyScript
  171. 1> SuperView -f MyScript -r
  172. 1> SuperView -f MyScript -s10 Spray
  173.  
  174.  
  175.     -h<n>   Change the display height of a picture
  176.     -w<n>    Change the display width
  177.  
  178. These two options change the display size of a picture.  You can use one 
  179. or both of them on a picture.  These options change the display size of 
  180. the picture, not the size of the picture.   If you tell it to use a 
  181. smaller display size than the picture is, you will be able to scroll 
  182. around in the smaller display area.  The best way to under stand this may 
  183. be to try it.   
  184.  
  185. Example:
  186.  
  187. 1> SuperView -w320 -h200 Mickey
  188. 1> SuperView -w320 -h200 -m Mickey
  189. 1> SuperView -w200 -h100 -x60 -y50 Spray
  190.  
  191.  
  192.     -l   List picture information
  193.  
  194. If you want to know the size of a picture, or if it is HAM or HalfBrite, 
  195. then this is your option.  This will list out the size of the display 
  196. area,  the size of the picture, what type of file it is (ILBM, ACBM, 
  197. ANIM), any display modes, number of colors and bit planes. 
  198.  
  199. Example:
  200.  
  201. 1> SuperView -l Mickey
  202. 1> SuperView -l -s10 Mickey
  203. 1> SuperView -l -w400 Mickey
  204.  
  205.  
  206.  If you want to save this information to disk or printer,  you may 
  207. redirect the output:
  208.  
  209. 1> SuperView >Prt: -d -l df1:
  210.  
  211. This line will show each picture on drive df1: and list the information 
  212. to the printer.
  213.  
  214.  
  215.     -m<x>   Select view modes  
  216.         h = HAM 
  217.         r = HiRes 
  218.         l =Lace
  219.         b = HalfBrite
  220.  
  221. This will allow you to change any display modes that you want.  The 
  222. display modes that are supported are,  Hi-Res (640 display), 
  223. Lace (interlace), HAM (Hold And Modify), and Extra-HalfBrite.  If you 
  224. just select -m option without any letters following it, all modes will be 
  225. cleared.  If the modes are clear, you will get a standard lo-res screen.  
  226. This is good for taking a Hi-Res, Lace picture and making it Lo-Res.
  227.  
  228. Example:
  229.  
  230. 1> SuperView -w320 -h200 -m Mickey
  231. 1> SuperView -w320 -h200 -ml Mickey
  232.  
  233. This will give you a 320 X 200 picture of Mickey that you can scroll 
  234. around in.  
  235.  
  236.     -o   Override the Auto Overscan 
  237.  
  238. This will cause SuperView to display the picture exactly like the IFF 
  239. file said to.  No attempt to size or place the picture is made.
  240.  
  241. Example:
  242.  
  243. 1> SuperView -o Spray
  244.  
  245.  
  246.     -p   Disables Pointer Clearing
  247.  
  248. If you don't want your pointer to disappear when showing the picture,  
  249. then use this option.
  250.  
  251. Example:
  252.  
  253. 1> SuperView -p Mickey
  254.  
  255.  
  256.     -r   Repeat command line
  257.  
  258. This will cause SuperView to repeat the command line in a loop.  With 
  259. this option, the -s and -d or -f options, you can make a slide show.  
  260. This is the only option that you put after everything else and everything 
  261. past the -r is ignored.  The only way to stop this is to hit the ESC key.
  262.  
  263. Example:
  264.  
  265. 1> SuperView Mickey Spray -r
  266. 1> SuperView -s10 Mickey -s5 Spray -r
  267.  
  268.  
  269.     -s<n>  Display picture for n seconds
  270.  
  271. This option will remove the picture after n seconds.  You can still 
  272. continue by pressing the right mouse button or ESC key.  This option 
  273. and the -d option work well together.
  274.  
  275. Example:
  276.  
  277. 1> SuperView -s10 Mickey
  278. 1> SuperView -s10 -d df1:
  279.  
  280.  
  281.     -t[<n>]    Double Buffer
  282.  
  283. This option will take two (default) or more pictures and cycle them to the 
  284. front at a rate of 60 times per second.  This may not seem useful,  but 
  285. there are some reasons for including it.  Double Buffering is mostly used
  286. to hide the area that you are drawing in until it is ready to be displayed.
  287. Most of the time it is a animation.  Durring some test with Double Buffering
  288. I found that if you swap complete screens,  you can also change the colors.
  289. Try this,  load up a paint program,  make a red (filled) box in the middle
  290. of the screen.  Now save this as pic1.  Next change the box to blue and
  291. save as pic2.  Then type the following line
  292.  
  293. 1> SuperView -t pic1 pic2
  294.  
  295. Notice that the box is now a different color.  This is real useful in
  296. smoothing out pictures and you can make it look like you have more than
  297. 32 colors on the screen at once.  More info on how to use this option
  298. will be made available on the AmigaLine BBS at (405) 354-8061 including
  299. a way to make Hi-Res 4096 color photos from the amiga.
  300.  
  301. If you want to buffer more than two pictures,  supply the number of 
  302. pictures after the -t option like
  303.  
  304. 1> SuperView -t4 pic1 pic2 pic3 pic4
  305.  
  306.  
  307.     -u    Dual Playfield
  308.  
  309. Did you ever wonder what dual playfield was like.  Well with this option,
  310. you can take any two pictures that are three bit planes (or less) and 
  311. display them in dual playfield mode.  After the picture is displayed, 
  312. you can scroll around in each picture (if the picture is larger than the
  313. screen).  To do this, hold down the left mouse button and slide the mouse
  314. around.  The back ground picture will scroll,  now release the button and
  315. hold it down again,  this time the front picture will scroll.  Each time
  316. you press the left button the scrolling picture will change.  To use this 
  317. option,  type in the fore ground picture first and then the back ground
  318. picture like
  319.  
  320. 1> SuperView -u pic1 pic2
  321.  
  322.  
  323.     -x<n>    Change the position of the display area x
  324.     -y<n>    Change the position of the display area y
  325.  
  326. The -x and -y options are used to position the display area on the screen. 
  327. For overscan, you need to shift the picture to the left and up from the 
  328. normal 0x 0y so you use  -x-16 to shift left and -y-8 to shift up. Also, 
  329. if you want to change the display size with the -w and -h options, you 
  330. can center the smaller screen with these options.
  331.  
  332. Example:
  333.  
  334. 1> SuperView -x20 -y10 Mickey
  335. 1> SuperView -w200 -h100 -x60 -y50 Spray
  336.  
  337.  
  338. If you have any problems with the program, you can leave me a message
  339. on AmigaLine BBS at (405) 354-8061....
  340.  
  341.  
  342.  
  343.  
  344.  
  345.